<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of BWAttribute
 *
 * @author jianfeng
 */
class BWAttribute extends BAttribute {

    //put your code here
    public function getModelClass($data = NULL) {
        //parent::getModelClass($data);
        return 'BWMAttribute';
    }

    public function getRepository($data = NULL, $reload = FALSE) {
        $repository = parent::getRepository($data, $reload);
        $repository->setModel('BWMAttribute');
        return $repository;
    }

}
